package com.zly.offer.backend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.Generated;
import org.springframework.ai.chat.messages.MessageType;

@Data
@TableName("chat_message")
public class ChatMessage {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer userId;
    private MessageType messageType;
    private String content;
    private Integer conversationId;
}
